package com.ruoyi.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.business.domain.TRegisterNotice;
import com.ruoyi.business.vo.TRegisterNoticeVo;

import java.util.List;

/**
 * 录取通知Service接口
 *
 * @author Tellsea
 * @date 2024-01-26
 */
public interface ITRegisterNoticeService extends IService<TRegisterNotice> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<TRegisterNoticeVo> queryList(TRegisterNoticeVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<TRegisterNoticeVo> queryAll(TRegisterNoticeVo entity);

    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    TRegisterNoticeVo queryById(Long id);

    TRegisterNoticeVo queryByRegisterId(Long registerId);

    String getNewJobNumber(String jobNumberPre);

    void revertOverLeaveDurationHandle();

    void overLeaveDurationHandle();

}
